package com.hx.vending.dao;

import com.hx.vending.bean.Rise;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2018/11/26.
 * 层
 */
@Repository
public interface RiseMapper {

    int deleteByPrimaryKey(Integer riseId);

    int insertSelective(Rise record);

    Rise selectByPrimaryKeySelective(Rise record);

    List<Rise> selectByExampleSelective(Rise record);

    int updateByPrimaryKeySelective(Rise record);

    /**
     * 根据设备id删除层
     * @param equipmentId
     * @return
     */
    int deleteRiseByEquipmentId(String equipmentId);
}
